package model

type Application struct{
	ID 			int 		`json:"id" gorm:"primary_key" desc:"应用id，自增"`
	Name 		string 		`json:"name" gorm:"type:varchar(20);not null;unique" desc:"应用名称"`
	Img 		string 		`json:"img" gorm:"type:varchar(200);not null;default:'defaultNull'" desc:"应用的logo图片"`
	Desc 		string 		`json:"desc" gorm:"type:varchar(150);default:'defaultNull'" desc:"描述"`
	CreatedAt 	Time 		`json:"created_at" gorm:"type:timestamp" desc:"创建时间"`
	UpdatedAt 	Time 		`json:"updated_at" gorm:"type:timestamp" desc:"更新时间"`
	DeletedAt	Time 		`json:"deleted_at" gorm:"type:timestamp" desc:"软删除时间"`
}